<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxConvexMesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxConvexMesh.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classPxConvexMesh-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxConvexMesh Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__geomutils.html">Geomutils</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A convex mesh.  
 <a href="classPxConvexMesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxConvexMesh_8h_source.html">PxConvexMesh.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PxConvexMesh:</div>
<div class="dyncontent">
<div class="center"><img src="classPxConvexMesh__inherit__graph.png" border="0" usemap="#PxConvexMesh_inherit__map" alt="Inheritance graph"/></div>
<map name="PxConvexMesh_inherit__map" id="PxConvexMesh_inherit__map">
<area shape="rect" id="node2" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="27,5,95,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PxConvexMesh:</div>
<div class="dyncontent">
<div class="center"><img src="classPxConvexMesh__coll__graph.png" border="0" usemap="#PxConvexMesh_coll__map" alt="Collaboration graph"/></div>
<map name="PxConvexMesh_coll__map" id="PxConvexMesh_coll__map">
<area shape="rect" id="node2" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="48,109,116,136"/>
<area shape="rect" id="node3" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag\l::Enum, PxU16 \&gt;" alt="" coords="5,5,159,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a91f22f88d2a3a100711b94b815152fd2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a91f22f88d2a3a100711b94b815152fd2">getNbVertices</a> () const =0</td></tr>
<tr class="memdesc:a91f22f88d2a3a100711b94b815152fd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of vertices.  <a href="#a91f22f88d2a3a100711b94b815152fd2">More...</a><br /></td></tr>
<tr class="separator:a91f22f88d2a3a100711b94b815152fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3698df65fd0496d92a0fb7e80b7fe30e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> const <a class="el" href="classPxVec3.html">PxVec3</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a3698df65fd0496d92a0fb7e80b7fe30e">getVertices</a> () const =0</td></tr>
<tr class="memdesc:a3698df65fd0496d92a0fb7e80b7fe30e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the vertices.  <a href="#a3698df65fd0496d92a0fb7e80b7fe30e">More...</a><br /></td></tr>
<tr class="separator:a3698df65fd0496d92a0fb7e80b7fe30e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97ef9cae4003c691c023884b71caffb0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> const PxU8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a97ef9cae4003c691c023884b71caffb0">getIndexBuffer</a> () const =0</td></tr>
<tr class="memdesc:a97ef9cae4003c691c023884b71caffb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index buffer.  <a href="#a97ef9cae4003c691c023884b71caffb0">More...</a><br /></td></tr>
<tr class="separator:a97ef9cae4003c691c023884b71caffb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5246b9a1efd734db68b211d51c672ed7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a5246b9a1efd734db68b211d51c672ed7">getNbPolygons</a> () const =0</td></tr>
<tr class="memdesc:a5246b9a1efd734db68b211d51c672ed7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of polygons.  <a href="#a5246b9a1efd734db68b211d51c672ed7">More...</a><br /></td></tr>
<tr class="separator:a5246b9a1efd734db68b211d51c672ed7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9e10d0faaa446ea96494160d359cba"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a9c9e10d0faaa446ea96494160d359cba">getPolygonData</a> (<a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> index, <a class="el" href="structPxHullPolygon.html">PxHullPolygon</a> &amp;data) const =0</td></tr>
<tr class="memdesc:a9c9e10d0faaa446ea96494160d359cba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the polygon data.  <a href="#a9c9e10d0faaa446ea96494160d359cba">More...</a><br /></td></tr>
<tr class="separator:a9c9e10d0faaa446ea96494160d359cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d2ce602a2383f40a3eb7d79e0c990d8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a6d2ce602a2383f40a3eb7d79e0c990d8">release</a> ()=0</td></tr>
<tr class="memdesc:a6d2ce602a2383f40a3eb7d79e0c990d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrements the reference count of a convex mesh and releases it if the new reference count is zero.  <a href="#a6d2ce602a2383f40a3eb7d79e0c990d8">More...</a><br /></td></tr>
<tr class="separator:a6d2ce602a2383f40a3eb7d79e0c990d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7cd51e753d6eaa80b73e06544db7f1b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#ab7cd51e753d6eaa80b73e06544db7f1b">getReferenceCount</a> () const =0</td></tr>
<tr class="memdesc:ab7cd51e753d6eaa80b73e06544db7f1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the reference count of a convex mesh.  <a href="#ab7cd51e753d6eaa80b73e06544db7f1b">More...</a><br /></td></tr>
<tr class="separator:ab7cd51e753d6eaa80b73e06544db7f1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31e7441288db086d259a82a2c13ac2ef"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a31e7441288db086d259a82a2c13ac2ef">acquireReference</a> ()=0</td></tr>
<tr class="memdesc:a31e7441288db086d259a82a2c13ac2ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acquires a counted reference to a convex mesh.  <a href="#a31e7441288db086d259a82a2c13ac2ef">More...</a><br /></td></tr>
<tr class="separator:a31e7441288db086d259a82a2c13ac2ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a497cea6e1975b9081760afc602985bbc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a497cea6e1975b9081760afc602985bbc">getMassInformation</a> (PxReal &amp;mass, <a class="el" href="classPxMat33.html">PxMat33</a> &amp;localInertia, <a class="el" href="classPxVec3.html">PxVec3</a> &amp;localCenterOfMass) const =0</td></tr>
<tr class="memdesc:a497cea6e1975b9081760afc602985bbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the mass properties of the mesh assuming unit density.  <a href="#a497cea6e1975b9081760afc602985bbc">More...</a><br /></td></tr>
<tr class="separator:a497cea6e1975b9081760afc602985bbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a288d742ed2fee5c7681fbf5ee6f30f02"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="classPxBounds3.html">PxBounds3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a288d742ed2fee5c7681fbf5ee6f30f02">getLocalBounds</a> () const =0</td></tr>
<tr class="memdesc:a288d742ed2fee5c7681fbf5ee6f30f02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the local-space (vertex space) AABB from the convex mesh.  <a href="#a288d742ed2fee5c7681fbf5ee6f30f02">More...</a><br /></td></tr>
<tr class="separator:a288d742ed2fee5c7681fbf5ee6f30f02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55b2be4dee2f9ab740ec154f625102cf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a55b2be4dee2f9ab740ec154f625102cf">getConcreteTypeName</a> () const</td></tr>
<tr class="memdesc:a55b2be4dee2f9ab740ec154f625102cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns string name of dynamic type.  <a href="#a55b2be4dee2f9ab740ec154f625102cf">More...</a><br /></td></tr>
<tr class="separator:a55b2be4dee2f9ab740ec154f625102cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a940cb6a762ae1689b217e62facf461eb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a940cb6a762ae1689b217e62facf461eb">isGpuCompatible</a> () const =0</td></tr>
<tr class="memdesc:a940cb6a762ae1689b217e62facf461eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method decides whether a convex mesh is gpu compatible. If the total number of vertices are more than 64 or any number of vertices in a polygon is more than 32, or convex hull data was not cooked with GPU data enabled during cooking or was loaded from a serialized collection, the convex hull is incompatible with GPU collision detection. Otherwise it is compatible.  <a href="#a940cb6a762ae1689b217e62facf461eb">More...</a><br /></td></tr>
<tr class="separator:a940cb6a762ae1689b217e62facf461eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classPxBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a4bc720adef86ea68bfb5845f0e104d23">is</a> ()</td></tr>
<tr class="separator:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">const T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a85aa50ac0e5670a2be64411fea62b5e3">is</a> () const</td></tr>
<tr class="separator:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#ab4e0691a08e49631dc60014d49c7585f">getConcreteType</a> () const</td></tr>
<tr class="memdesc:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns concrete type of object.  <a href="classPxBase.html#ab4e0691a08e49631dc60014d49c7585f">More...</a><br /></td></tr>
<tr class="separator:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a1dd20bb574075df904e1878f2e771ef9">setBaseFlag</a> (<a class="el" href="structPxBaseFlag.html#ac258de0c7adaa37f81b6ab1b0c86a6ee">PxBaseFlag::Enum</a> flag, bool value)</td></tr>
<tr class="memdesc:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <a class="el" href="structPxBaseFlag.html" title="Flags for PxBase. ">PxBaseFlag</a>.  <a href="classPxBase.html#a1dd20bb574075df904e1878f2e771ef9">More...</a><br /></td></tr>
<tr class="separator:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#afb391b692c561df0a54c413785e4ebd0">setBaseFlags</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> inFlags)</td></tr>
<tr class="memdesc:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set PxBaseFlags.  <a href="classPxBase.html#afb391b692c561df0a54c413785e4ebd0">More...</a><br /></td></tr>
<tr class="separator:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#ad9b10efae7733ff9c8b8d3b7d90a9a5f">getBaseFlags</a> () const</td></tr>
<tr class="memdesc:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns PxBaseFlags.  <a href="classPxBase.html#ad9b10efae7733ff9c8b8d3b7d90a9a5f">More...</a><br /></td></tr>
<tr class="separator:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a38952fcb80e99f1f5dbf774a75ac2c3d">isReleasable</a> () const</td></tr>
<tr class="memdesc:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the object is subordinate.  <a href="classPxBase.html#a38952fcb80e99f1f5dbf774a75ac2c3d">More...</a><br /></td></tr>
<tr class="separator:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a54250e0e545e7d32586f981b1e217526"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a54250e0e545e7d32586f981b1e217526">PxConvexMesh</a> (<a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="separator:a54250e0e545e7d32586f981b1e217526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f8637b732295864836bfc2a4b9f54fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a6f8637b732295864836bfc2a4b9f54fb">PxConvexMesh</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="separator:a6f8637b732295864836bfc2a4b9f54fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c493ccf3bfcbc7ab360c3a72bb9a18b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a1c493ccf3bfcbc7ab360c3a72bb9a18b">~PxConvexMesh</a> ()</td></tr>
<tr class="separator:a1c493ccf3bfcbc7ab360c3a72bb9a18b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55750eec3abb834b7c12f363d7be5a9e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMesh.html#a55750eec3abb834b7c12f363d7be5a9e">isKindOf</a> (const char *name) const</td></tr>
<tr class="memdesc:a55750eec3abb834b7c12f363d7be5a9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether a given type name matches with the type of this instance.  <a href="#a55750eec3abb834b7c12f363d7be5a9e">More...</a><br /></td></tr>
<tr class="separator:a55750eec3abb834b7c12f363d7be5a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classPxBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a263f1ef821c74058ce9335e06cb842a4">PxBase</a> (<a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="memdesc:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor setting concrete type and base flags.  <a href="classPxBase.html#a263f1ef821c74058ce9335e06cb842a4">More...</a><br /></td></tr>
<tr class="separator:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a58b979202e7382701f74977fe3dd5c6f">PxBase</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="memdesc:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserialization constructor setting base flags.  <a href="classPxBase.html#a58b979202e7382701f74977fe3dd5c6f">More...</a><br /></td></tr>
<tr class="separator:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#adfbf62dc32775b068db1c74c7fd3d982">~PxBase</a> ()</td></tr>
<tr class="memdesc:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classPxBase.html#adfbf62dc32775b068db1c74c7fd3d982">More...</a><br /></td></tr>
<tr class="separator:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a3782ca64c8f12c41443f604e300fc207">typeMatch</a> () const</td></tr>
<tr class="separator:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classPxBase')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a1abe9d19726e1f8f8e56abeb2269b5d4 inherit pro_attribs_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a1abe9d19726e1f8f8e56abeb2269b5d4">mConcreteType</a></td></tr>
<tr class="separator:a1abe9d19726e1f8f8e56abeb2269b5d4 inherit pro_attribs_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff7105f65905ecb9f6f7993ba28b712d inherit pro_attribs_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#aff7105f65905ecb9f6f7993ba28b712d">mBaseFlags</a></td></tr>
<tr class="separator:aff7105f65905ecb9f6f7993ba28b712d inherit pro_attribs_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A convex mesh. </p>
<p>Internally represented as a list of convex polygons. The number of polygons is limited to 256.</p>
<p>To avoid duplicating data when you have several instances of a particular mesh positioned differently, you do not use this class to represent a convex object directly. Instead, you create an instance of this mesh via the <a class="el" href="classPxConvexMeshGeometry.html" title="Convex mesh geometry class. ">PxConvexMeshGeometry</a> and <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> classes.</p>
<h3>Creation</h3>
<p>To create an instance of this class call <a class="el" href="classPxPhysics.html#a54fc5f8b0884977ccfd45ea829392a52" title="Creates a convex mesh object. ">PxPhysics::createConvexMesh()</a>, and <a class="el" href="classPxConvexMesh.html#a6d2ce602a2383f40a3eb7d79e0c990d8" title="Decrements the reference count of a convex mesh and releases it if the new reference count is zero...">PxConvexMesh::release()</a> to delete it. This is only possible once you have released all of its <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> instances.</p>
<h3>Visualizations:</h3>
<ul>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10a714f24bab39d1bbe8b131bd10ef5552b" title="Visualize bounds (AABBs in world space) ">PxVisualizationParameter::eCOLLISION_AABBS</a> </li>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10a515f4c3c72ee88d7507b52d6ccd14eab" title="Shape visualization. ">PxVisualizationParameter::eCOLLISION_SHAPES</a> </li>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10a0ad9dcb10f5f3d6ded3baecfc1e387d3" title="Shape axis visualization. ">PxVisualizationParameter::eCOLLISION_AXES</a> </li>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10afd900f30ba421d555e7f7b087126cd92" title="Mesh &amp; convex face normals. ">PxVisualizationParameter::eCOLLISION_FNORMALS</a> </li>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10aa0e06ca7fa1a0445abe0f4d293feb961" title="Active edges for meshes. ">PxVisualizationParameter::eCOLLISION_EDGES</a></li>
</ul>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh. ">PxConvexMeshDesc</a> <a class="el" href="classPxPhysics.html#a54fc5f8b0884977ccfd45ea829392a52" title="Creates a convex mesh object. ">PxPhysics.createConvexMesh()</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a54250e0e545e7d32586f981b1e217526"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54250e0e545e7d32586f981b1e217526">&#9670;&nbsp;</a></span>PxConvexMesh() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxConvexMesh::PxConvexMesh </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td>
          <td class="paramname"><em>concreteType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td>
          <td class="paramname"><em>baseFlags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6f8637b732295864836bfc2a4b9f54fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f8637b732295864836bfc2a4b9f54fb">&#9670;&nbsp;</a></span>PxConvexMesh() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxConvexMesh::PxConvexMesh </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td>
          <td class="paramname"><em>baseFlags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1c493ccf3bfcbc7ab360c3a72bb9a18b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c493ccf3bfcbc7ab360c3a72bb9a18b">&#9670;&nbsp;</a></span>~PxConvexMesh()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> PxConvexMesh::~PxConvexMesh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a31e7441288db086d259a82a2c13ac2ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31e7441288db086d259a82a2c13ac2ef">&#9670;&nbsp;</a></span>acquireReference()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> void PxConvexMesh::acquireReference </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Acquires a counted reference to a convex mesh. </p>
<p>This method increases the reference count of the convex mesh by 1. Decrement the reference count by calling <a class="el" href="classPxConvexMesh.html#a6d2ce602a2383f40a3eb7d79e0c990d8" title="Decrements the reference count of a convex mesh and releases it if the new reference count is zero...">release()</a> </p>

</div>
</div>
<a id="a55b2be4dee2f9ab740ec154f625102cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55b2be4dee2f9ab740ec154f625102cf">&#9670;&nbsp;</a></span>getConcreteTypeName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> const char* PxConvexMesh::getConcreteTypeName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns string name of dynamic type. </p>
<dl class="section return"><dt>Returns</dt><dd>Class name of most derived type of this object. </dd></dl>

<p>Implements <a class="el" href="classPxBase.html#a67fe206d8897ddce896c371ac8d789a9">PxBase</a>.</p>

</div>
</div>
<a id="a97ef9cae4003c691c023884b71caffb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97ef9cae4003c691c023884b71caffb0">&#9670;&nbsp;</a></span>getIndexBuffer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> const PxU8* PxConvexMesh::getIndexBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>Index buffer. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConvexMesh.html#a5246b9a1efd734db68b211d51c672ed7" title="Returns the number of polygons. ">getNbPolygons()</a> <a class="el" href="classPxConvexMesh.html#a9c9e10d0faaa446ea96494160d359cba" title="Returns the polygon data. ">getPolygonData()</a> </dd></dl>

</div>
</div>
<a id="a288d742ed2fee5c7681fbf5ee6f30f02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a288d742ed2fee5c7681fbf5ee6f30f02">&#9670;&nbsp;</a></span>getLocalBounds()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="classPxBounds3.html">PxBounds3</a> PxConvexMesh::getLocalBounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the local-space (vertex space) AABB from the convex mesh. </p>
<dl class="section return"><dt>Returns</dt><dd>local-space bounds </dd></dl>

</div>
</div>
<a id="a497cea6e1975b9081760afc602985bbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a497cea6e1975b9081760afc602985bbc">&#9670;&nbsp;</a></span>getMassInformation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> void PxConvexMesh::getMassInformation </td>
          <td>(</td>
          <td class="paramtype">PxReal &amp;&#160;</td>
          <td class="paramname"><em>mass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxMat33.html">PxMat33</a> &amp;&#160;</td>
          <td class="paramname"><em>localInertia</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>localCenterOfMass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the mass properties of the mesh assuming unit density. </p>
<p>The following relationship holds between mass and volume:</p>
<p>mass = volume * density</p>
<p>The mass of a unit density mesh is equal to its volume, so this function returns the volume of the mesh.</p>
<p>Similarly, to obtain the localInertia of an identically shaped object with a uniform density of d, simply multiply the localInertia of the unit density mesh by d.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">mass</td><td>The mass of the mesh assuming unit density. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">localInertia</td><td>The inertia tensor in mesh local space assuming unit density. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">localCenterOfMass</td><td>Position of center of mass (or centroid) in mesh local space. </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">Referenced by <a class="el" href="classPxMassProperties.html#acc8eadc90e93df0e25d4dfb63988a596">PxMassProperties::PxMassProperties()</a>.</p>

</div>
</div>
<a id="a5246b9a1efd734db68b211d51c672ed7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5246b9a1efd734db68b211d51c672ed7">&#9670;&nbsp;</a></span>getNbPolygons()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxConvexMesh::getNbPolygons </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of polygons. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of polygons. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConvexMesh.html#a97ef9cae4003c691c023884b71caffb0" title="Returns the index buffer. ">getIndexBuffer()</a> <a class="el" href="classPxConvexMesh.html#a9c9e10d0faaa446ea96494160d359cba" title="Returns the polygon data. ">getPolygonData()</a> </dd></dl>

</div>
</div>
<a id="a91f22f88d2a3a100711b94b815152fd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91f22f88d2a3a100711b94b815152fd2">&#9670;&nbsp;</a></span>getNbVertices()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxConvexMesh::getNbVertices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of vertices. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of vertices. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConvexMesh.html#a3698df65fd0496d92a0fb7e80b7fe30e" title="Returns the vertices. ">getVertices()</a> </dd></dl>

</div>
</div>
<a id="a9c9e10d0faaa446ea96494160d359cba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c9e10d0faaa446ea96494160d359cba">&#9670;&nbsp;</a></span>getPolygonData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> bool PxConvexMesh::getPolygonData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structPxHullPolygon.html">PxHullPolygon</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the polygon data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>Polygon index in [0 ; <a class="el" href="classPxConvexMesh.html#a5246b9a1efd734db68b211d51c672ed7" title="Returns the number of polygons. ">getNbPolygons()</a>[. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">data</td><td>Polygon data. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if success. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConvexMesh.html#a97ef9cae4003c691c023884b71caffb0" title="Returns the index buffer. ">getIndexBuffer()</a> <a class="el" href="classPxConvexMesh.html#a5246b9a1efd734db68b211d51c672ed7" title="Returns the number of polygons. ">getNbPolygons()</a> </dd></dl>

</div>
</div>
<a id="ab7cd51e753d6eaa80b73e06544db7f1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7cd51e753d6eaa80b73e06544db7f1b">&#9670;&nbsp;</a></span>getReferenceCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxConvexMesh::getReferenceCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the reference count of a convex mesh. </p>
<p>At creation, the reference count of the convex mesh is 1. Every shape referencing this convex mesh increments the count by 1. When the reference count reaches 0, and only then, the convex mesh gets destroyed automatically.</p>
<dl class="section return"><dt>Returns</dt><dd>the current reference count. </dd></dl>

</div>
</div>
<a id="a3698df65fd0496d92a0fb7e80b7fe30e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3698df65fd0496d92a0fb7e80b7fe30e">&#9670;&nbsp;</a></span>getVertices()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> const <a class="el" href="classPxVec3.html">PxVec3</a>* PxConvexMesh::getVertices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the vertices. </p>
<dl class="section return"><dt>Returns</dt><dd>Array of vertices. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConvexMesh.html#a91f22f88d2a3a100711b94b815152fd2" title="Returns the number of vertices. ">getNbVertices()</a> </dd></dl>

</div>
</div>
<a id="a940cb6a762ae1689b217e62facf461eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a940cb6a762ae1689b217e62facf461eb">&#9670;&nbsp;</a></span>isGpuCompatible()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> bool PxConvexMesh::isGpuCompatible </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method decides whether a convex mesh is gpu compatible. If the total number of vertices are more than 64 or any number of vertices in a polygon is more than 32, or convex hull data was not cooked with GPU data enabled during cooking or was loaded from a serialized collection, the convex hull is incompatible with GPU collision detection. Otherwise it is compatible. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the convex hull is gpu compatible </dd></dl>

</div>
</div>
<a id="a55750eec3abb834b7c12f363d7be5a9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55750eec3abb834b7c12f363d7be5a9e">&#9670;&nbsp;</a></span>isKindOf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> bool PxConvexMesh::isKindOf </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>superClass</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns whether a given type name matches with the type of this instance. </p>

<p>Reimplemented from <a class="el" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase</a>.</p>

<p class="reference">References <a class="el" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase::isKindOf()</a>.</p>

</div>
</div>
<a id="a6d2ce602a2383f40a3eb7d79e0c990d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d2ce602a2383f40a3eb7d79e0c990d8">&#9670;&nbsp;</a></span>release()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__common.html#ga87ae1d60bdf83754e2fe5065aab40ec4">PX_PHYSX_COMMON_API</a> void PxConvexMesh::release </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decrements the reference count of a convex mesh and releases it if the new reference count is zero. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxPhysics.html#a54fc5f8b0884977ccfd45ea829392a52" title="Creates a convex mesh object. ">PxPhysics.createConvexMesh()</a> <a class="el" href="classPxConvexMeshGeometry.html" title="Convex mesh geometry class. ">PxConvexMeshGeometry</a> <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> </dd></dl>

<p>Implements <a class="el" href="classPxBase.html#afe6aedda1df0d6d29b1a28213a5ee25a">PxBase</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxConvexMesh_8h_source.html">PxConvexMesh.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxConvexMesh.html">PxConvexMesh</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
